package com.example.demo.Gmail.Util;

import com.google.api.services.gmail.GmailScopes;
import com.google.api.services.plus.PlusScopes;
import com.google.common.collect.Lists;

import java.util.List;

public class ScopesUtil {
    public static List<String> makeScopes(){
        List<String> SCOPES = Lists.newArrayList();
        SCOPES.add(GmailScopes.MAIL_GOOGLE_COM);
        SCOPES.add(PlusScopes.PLUS_LOGIN);
        SCOPES.add(PlusScopes.PLUS_ME);
        SCOPES.add(PlusScopes.USERINFO_PROFILE);
        SCOPES.add(PlusScopes.USERINFO_EMAIL);
        SCOPES.add("https://www.googleapis.com/auth/pubsub");
        return SCOPES;
    }
}
